<template>
  <div class="footer-container">
    <div class="footer-left">
    	<p :class="footertext">© 2017 中未智联</p>
    </div>
  </div>
</template>

<script>
export default {
  name: 'bottom',
  props:{
    fontstyle:{default:'1'}
  },
  data () {
    return {
      footertext:(this.fontstyle=='2'?'footer-text-s2':'footer-text-s1')
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.footer-text-s1{
  text-align: center;
  font-size: 12px;
  color: white;
  margin: 0;
}
.footer-text-s2{
  text-align: center;
  font-size: 12px;
  color: #767676;
  margin: 0;
}
p,span{cursor: text;}
.footer-container{
  cursor: default;
  width: 100%;
  position: absolute;
  bottom: 0;
  padding: 10px 0;
  box-sizing: border-box;
}
.bgimg{
  width: 100%;
  height: 100%;
}
    
</style>
